package com.health.db.mapper;

import java.util.List;

import com.health.db.model.CourseShareJournal;
import com.health.db.model.CourseShareJournalExample;
import com.health.db.model.UserAccountJournalTemp;

public interface CourseShareJournalMapper {
    long countByExample(CourseShareJournalExample example);

    int deleteByExample(CourseShareJournalExample example);

    int deleteByPrimaryKey(Long recid);
    
    int insert(CourseShareJournal record);

    int insertSelective(CourseShareJournal record);

    List<CourseShareJournal> selectByExample(CourseShareJournalExample example);

    CourseShareJournal selectByPrimaryKey(Long recid);

    int updateByPrimaryKeySelective(CourseShareJournal record);

    int updateByPrimaryKey(CourseShareJournal record);
    
    List<CourseShareJournal> selectByUserId(Long userId);
    
    List<UserAccountJournalTemp> selectCourseShareJournalSimple(CourseShareJournalExample example);
}